package com.zsrt.java.day20161223.cg.homework.switchtest;

import java.util.Scanner;

import org.junit.Test;
/**����Ϊ����ֻ��趨���Զ����ţ�ʹ��switchʵ�֣�
*��1�����ְֵĺ�
*��2��������ĺ�
*��3����үү�ĺ�
*��4�������̵ĺ�
* ���ʵ�ִ�ҵ��
*/
public class SwitchTest03 {
	@Test
	public void autoCall(){
		Scanner sc = new Scanner(System.in);
		System.out.println("�밴1234�ֱ��ʾ��ְ֣����裬үү�����̿��ٲ���");
		int c = sc.nextInt();
		String fa = "1**********";
		String ma = "1**********";
		String gf = "1**********";
		String gm = "1 **********";
		sc.close();
		
		switch(c){
		case 1: System.out.println("���ְֵĺţ� "+fa); break;
		case 2: System.out.println("������ĺţ� "+ma); break;
		case 3: System.out.println("��үү�ĺţ� "+gf); break;
		case 4: System.out.println("�����̵ĺţ� "+gm); break;
		}
	}
}
